<?php /* Smarty version 2.6.26, created on 2013-08-20 03:46:16
         compiled from product_colors_create.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'thumb', 'product_colors_create.tpl', 12, false),)), $this); ?>
<div class="box">
  <div class="box-content">
	  <form method="post" enctype="multipart/form-data">
	  <table class="adminlist">
	  <tbody>
	  <tr>
	    <td width="140">Tên màu</td>
	    <td><input type="text" class="input-text" name="color_title" value="<?php echo $this->_tpl_vars['color']['color_title']; ?>
" /></td>
	  </tr>
	  <tr>
	    <td>Mã màu</td>
	    <td><?php if ($this->_tpl_vars['color']['color_thumb'] != ''): ?><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['color']['color_thumb'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 'crop40x40') : smarty_modifier_thumb($_tmp, 'crop40x40')); ?>
" /><?php endif; ?> <br /><input type="text" class="input-text" name="color_code" value="<?php echo $this->_tpl_vars['color']['color_code']; ?>
" /> </td>
	  </tr>
	  <tr>
	    <td>Hình ảnh</td>
	    <td><input type="file" class="input-text" name="color_thumb" /></td>
	  </tr>
	  <tr>
	    <td>Trạng thái</td>
	    <td>
	    	<input type="radio" value="1" name="color_publish" id="color_enabled_on" <?php if ($this->_tpl_vars['color']['color_published'] == 1): ?>checked="checked"<?php endif; ?> /> <label for="color_enabled_on">Xuất bản</label>  &nbsp; &nbsp; &nbsp;
	      <input type="radio" value="0" name="color_publish" id="color_enabled_off" <?php if ($this->_tpl_vars['color']['color_published'] == 0): ?>checked="checked"<?php endif; ?> /> <label for="color_enabled_off">Bản nháp</label>
	    </td>
	  </tr>
	  <tr>
	    <td colspan="2" align="center"><input class="input-submit" type="submit" value="Gửi đi" /></td>
	  </tr>
	  </tbody>
	  </table>
	  </form>
  </div>
</div>